<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><%=Manager.TABLE_ALIAS%>新增</title>
	<link rel="stylesheet" href="<c:url value="/resources/css/reset.css"/>" type="text/css" media="screen" />
	<link rel="stylesheet" href="<c:url value="/resources/css/style.css"/>" type="text/css"	media="screen" />
	<link rel="stylesheet" href="<c:url value="/resources/css/invalid.css"/>" type="text/css" media="screen" />
	<script type="text/javascript" src="<c:url value="/resources/scripts/jquery-1.3.2.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/resources/scripts/simpla.jquery.configuration.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/resources/scripts/facebox.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/resources/scripts/jquery.wysiwyg.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/resources/scripts/jquery.datePicker.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/resources/scripts/jquery.date.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/widgets/simpletable/simpletable.js"/>"></script>
<!--========================================================================================-->
	<link href="<c:url value="/scripts/rapid-validation/validation.css"/>" type="text/css" rel="stylesheet">
	<script src="<c:url value="/scripts/rapid-validation/prototype.js"/>" type="text/javascript"></script>
	<script src="<c:url value="/scripts/rapid-validation/effects.js"/>" type="text/javascript"></script>
	<!-- show validation error as tooptips -->
	<script src="<c:url value="/scripts/rapid-validation/tooltips.js"/>" type="text/javascript"></script>
	<link href="<c:url value="/scripts/rapid-validation/tooltips.css"/>" type="text/css" rel="stylesheet">
	<script src="<c:url value="/scripts/rapid-validation/validation.js"/>" type="text/javascript"></script>
	<script src="<c:url value="/scripts/rapid-validation/validation_cn.js"/>" type="text/javascript"></script>
	<!-- rapid-validation END-->
	<script src="<c:url value="/scripts/application.js"/>" type="text/javascript"></script>
	<script src="<c:url value="/scripts/My97DatePicker/WdatePicker.js"/>" type="text/javascript"></script>
	<script type="text/javascript">
		var add = function(){
			var valid = new Validation('formid',{onSubmit:false});
			var result = valid.validate();
			if(result){
				document.forms[0].submit();
			}
		}
	</script>
</head>

<body style="background:none;">
	<form id="formid" action="${ctx}/Manager/save.shtml" method="post">
		<a href="javascript:;" class="button" onclick="window.location='${ctx}/Manager/list.shtml'">返回列表</a>
		<a href="javascript:;" class="button" onclick="history.back();">后退</a>
		<%@ include file="form_include.jsp" %>
		<a href="javascript:add()" class="button">保存</a>
	</form>
</body>
</html>